<section class="main-box" [ngStyle]="tagData.cssStyle|styleFilter">
  <div class="topBox">
    <img [src]="topLeftBtn?.icon" class="close-btn" onerror="this.src='assets/img/close.png'"
      [ngStyle]="topLeftBtn?.submit.content?.btnCssStyle|styleFilter" appDebounceClick (debounceClick)="closeModal()" />
    <span class="register-btn" appDebounceClick (debounceClick)="goPage(topRightBtn.link)"
      [ngStyle]="topRightBtn?.link?.params?.btnCssStyle|styleFilter">
      {{topRightBtn?.label}}</span>
  </div>
  <div class="content-box">
    <img class="logo" *ngIf="tagData.data?.data?.logo" [src]="tagData.data?.data?.logo"
      onerror="this.src='assets/fw/expert_icon_chat_location.png'"
      [ngStyle]="tagData.data?.data?.logoCssStyle|styleFilter" />
    <p class="mobile" *ngIf="tagData.data?.data?.mobile" [ngStyle]="tagData.data?.data?.mobileCssStyle|styleFilter">
      {{tagData.data?.data?.mobile}}</p>
    <img class="finger-print" *ngIf="tagData.data?.data?.fingPrintIcon" [src]="tagData.data?.data?.fingPrintIcon"
      onerror="this.src='assets/fw/fingerPrint.png'" appDebounceClick (debounceClick)="openModalAndShowFingerPrint(centerFirstBtn)"
      [ngStyle]="tagData.data?.data?.fingPrintIconCssStyle|styleFilter" />


    <span class="center-first-button" *ngIf="centerFirstBtn"
      [ngStyle]="centerFirstBtn?.submit?.content?.btnCssStyle|styleFilter"
      appDebounceClick (debounceClick)="openModalAndShowFingerPrint(centerFirstBtn)">
      <ng-container *ngIf="showCenterFirstBtnLabel===true; else elseCenterFirstBtnTemplate">
        {{centerFirstBtn.label}}
      </ng-container>
      <ng-template #elseCenterFirstBtnTemplate>
        <ng-container *ngIf="centerFirstBtn?.submit?.content?.fistInstallTapTips">
          <font [ngStyle]="centerFirstBtn?.submit?.content?.fistInstallTapTipsCssStyle|styleFilter">
            {{centerFirstBtn?.submit?.content?.fistInstallTapTips}}
          </font>
        </ng-container>
      </ng-template>
    </span>
    <span class="center-second-button" *ngIf="centerSecondBtn"
      [ngStyle]="centerSecondBtn?.link?.params?.btnCssStyle|styleFilter"
      appDebounceClick (debounceClick)="closeModal()">{{centerSecondBtn.label}}</span>
  </div>
</section>